package com.xinsoft.entity.vo;

import com.xinsoft.entity.dto.KisProductionPlanDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: π
 * 生产计划 ----对应金蝶的 生产任务单
 * */
@Data
public class ErpProductionFeedingVO {
    @ApiModelProperty(value = "")
    private Long id;
    //生产计划ID
    @ApiModelProperty(value = "生产计划ID")
    private Long productionPlanId;
    //生产投料工单号
    @ApiModelProperty(value = "生产投料工单号")
    private String feedingNo;

    @ApiModelProperty(value = "产品ID")
    private Integer materialId;

    @ApiModelProperty(value = "产品ID")
    private String materialName;

    /**
     * 物料编码
     */
    private String materialNo;

    /**
     * 规格属性
     */
    private String materialSpecific;

    /**
     * 计量单位
     */
    private Integer mainUnitId;

    /**
     * 计量单位
     */
    private String mainUnit;

    /**
     * 辅助单位
     */
    private String viceUnit;

    @ApiModelProperty(value = "生产部门")
    private Integer proDept;

    @ApiModelProperty(value = "源单id")
    private Integer sourceId;

    @ApiModelProperty(value = "源单子表id")
    private Integer sourceItemId;

    @ApiModelProperty(value = "源单code")
    private String sourceCode;

    @ApiModelProperty(value = "生产部门")
    private String proDeptName;
    //计划生产数量
    @ApiModelProperty(value = "计划生产数量")
    private BigDecimal planCount;
    @ApiModelProperty(value = "计划生产辅助数量")
    private BigDecimal assistNum;
    //审核人员
    @ApiModelProperty(value = "审核人员")
    private Integer auditor;
    //审核人员
    @ApiModelProperty(value = "审核人员")
    private String auditorName;
    //创建人
    @ApiModelProperty(value = "创建人", hidden = true)
    private Long createBy;
    //创建时间
    @ApiModelProperty(value = "创建时间", example = "2021-10-22 11:31:35", hidden = true)
    private Date createTime;
    //修改人
    @ApiModelProperty(value = "修改人", hidden = true)
    private Long updateBy;
    //修改时间
    @ApiModelProperty(value = "修改时间", example = "2021-10-22 11:31:35", hidden = true)
    private Date updateTime;
    //删除状态
    @ApiModelProperty(value = "删除状态", hidden = true)
    private Integer delFlag;
    //供应商ID
    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;
    //换算系数
    @ApiModelProperty(value = "换算系数")
    private BigDecimal convCoefficient;
}
